package com.liit.module.entity;

import java.io.Serializable;

import org.hibernate.validator.constraints.NotBlank;

/**
 * 
 * @author dingweibo
 * @Title: Template.java
 * @Description: Template实体
 * @date 2016年1月3日
 */
public class Template implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 *
	 * @mbggenerated
	 */
	private Integer id;

	/**
	 * 描述
	 *
	 * @mbggenerated
	 */
	private String remark;

	/**
	 * html代码
	 *
	 * @mbggenerated
	 */
	@NotBlank(message = "html不能为空")
	private String html;

	/**
	 * 上一次html代码
	 *
	 * @mbggenerated
	 */
	@NotBlank(message = "lastHtml不能为空")
	private String lastHtml;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getHtml() {
		return html;
	}

	public void setHtml(String html) {
		this.html = html;
	}

	public String getLastHtml() {
		return lastHtml;
	}

	public void setLastHtml(String lastHtml) {
		this.lastHtml = lastHtml;
	}
}